<title>叩丁狼CRM(演示版)</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/js/bootstrap/css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="/css/core.css" type="text/css" />

<script type="text/javascript" src="/js/jquery/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="/js/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/plugins/page/jquery.twbsPagination.min.js"></script>
<script type="text/javascript" src="/js/plugins/jqueryForm/jquery.form.js"></script>
<script type="text/javascript" src="/js/plugins/jqueryBootstrap/jquery.bootstrap.min.js"></script>
<script type="text/javascript" src="/js/plugins/validate/jquery.validate.min.js"></script>
<script type="text/javascript" src="/js/plugins/validate/messages_cn.js"></script>
<script type="text/javascript" src="/js/plugins/echart/echarts.min.js"></script>
<script type="text/javascript" src="/js/plugins/ckeditor/ckeditor.js"></script>



<script type="text/javascript">
    function deleteY() {
        //优化删除功能
        $(".deleteBtn").click(function () {
            var url = $(this).data("url");
            //弹出确认框
            $.messager.confirm("温馨提示","亲,真的要删除么",function () {
                $.get(url,function (data) {
                    if(data.success){
                        $.messager.alert("温馨提示","删除成功,2s后自动更新");
                        setTimeout(function () {
                            location.reload();
                        },2000)
                    }else{
                        $.messager.alert("温馨提示",data.msg);
                        setTimeout(function () {
                            location.reload();
                        },2000)
                    }

                })
            })
        })
    }

    $.messager.model={
        ok:{
            text:"确认"
        },
        cancel:{
            text:"取消"
        }
    }

    $.ajaxSettings.traditional=true;
</script>

